package org.cn.osiris.org.domain;

import org.cn.osiris.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.cn.osiris.system.domain.Role;

/**
 * 实体类：员工
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee extends BaseDomain {
       /**用户名*/
       private String username;
       /**邮箱*/
       private String email;
       /**手机*/
       private String phone;
       /**盐值*/
       private String salt;
       /**密码*/
       private String password;
       /**年龄*/
       private Integer age;
       /**状态*/
       private Integer state;
       /**部门ID*/
       private Long departmentId;
       /**当前员工所在部门*/
       private Department department;
       /**登陆信息ID*/
       private Long logininfoId;
       /**店铺ID*/
       private Long shopId;
       private Shop shop;

       /**方便从中间表中为当前员工添加角色象*/
       private Long  roleId;


}

